Rename htmldoc directory and change the references to it.
authorBernd Zeimetz <bernd@bzed.de>
Sun, 2 May 2010 12:07:57 +0000 (14:07 +0200)
committerBernd Zeimetz <bernd@bzed.de>
Sun, 2 May 2010 18:44:40 +0000 (20:44 +0200)
debian/patches/htmldoc-location [new file with mode: 0644]
debian/patches/series
debian/rules

diff --git a/debian/patches/htmldoc-location b/debian/patches/htmldoc-location
new file mode 100644 (file)
index 0000000..bf2d596
--- /dev/null
@@ -0,0 +1,26 @@
+--- a/gbversion.h.in
++++ b/gbversion.h.in
+@@ -5,4 +5,4 @@
+  * Isn't simplification via automation grand?
+  */
+ #define VERSION "@GBMAJOR@.@GBMINOR@.@GBMICRO@@PACKAGE_RELEASE@"
+-#define WEB_DOC_DIR "http://www.gpsbabel.org/htmldoc-@DOCVERSION@"
++#define WEB_DOC_DIR "file:///usr/share/doc/gpsbabel/htmldoc/index.html"
+--- a/gui/help/gpsbabel.html
++++ b/gui/help/gpsbabel.html
+@@ -1,3 +1,3 @@
+ <p>This is the local help.  It currently isn't very helpful.</p>
+-<p>The <a href="http://www.gpsbabel.org/htmldoc-development"> online help 
++<p>The <a href="file:///usr/share/doc/gpsbabel/htmldoc/index.html"> online help 
+    is mo betta.</p>
+--- a/xmldoc/gpsbabel_man.xml
++++ b/xmldoc/gpsbabel_man.xml
+@@ -79,7 +79,7 @@ or as the backend for other tools. </par
+       <listitem> <para>Display help that is more exhaustive than this page.  If <replaceable>format</replaceable> is given, provide help for only that format.</para> </listitem>
+ </varlistentry>
+ </variablelist>
+-<para>Lists of filters and formats are given in the doc at http://www.gpsbabel.org. </para>
++<para>Lists of filters and formats are given in the doc at /usr/share/doc/gpsbabel/htmldoc/. </para>
+ </refsect1>
+ <refsect1><title>See Also</title>
index 4980e6f05c7cad7fb732ad78017a401a80293820..2f264db6969555eb160ff311b906995a125a05b8 100644 (file)
@@ -1 +1,2 @@
+htmldoc-location
 gpsbabelfe-name
index b9e49691548d5a9fdf6094feaefa369a9321fac9..84ad02feaa80bcdda2ea74cc8538740851a78907 100755 (executable)
@@ -84,6 +84,10 @@ install: build-stamp build-gui-stamp
 
        # Add here commands to install the package into debian/gpsbabel.
        $(MAKE) install DESTDIR=$(CURDIR)/debian/gpsbabel
+
+       # Rename htmldoc dir
+       mv `ls -d $(CURDIR)/debian/doctmp/htmldoc-*` $(CURDIR)/debian/doctmp/htmldoc
+
        dh_install